import React from 'react';
import ReactDOM from 'react-dom';
import App from './containers/App';
//import {Provider} from "mobx-react";
import {useStrict} from 'mobx'
import registerServiceWorker from './registerServiceWorker';
import {AppContainer} from 'react-hot-loader'
import './styles/site.scss'

useStrict(true)
const render = (App) => {
    ReactDOM.render(
        <AppContainer>
            <App/>
        </AppContainer>, document.getElementById('app'));
}

render(App)

/*if (module.hot) {
    module.hot.accept('./containers/App', () => {
        render(App)
    })
}*/
registerServiceWorker();
